package cn.stylefeng.guns.modular.fruits.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.fruits.entity.FruitsOrderPut;
import cn.stylefeng.guns.modular.fruits.model.params.FruitsOrderPutParam;
import cn.stylefeng.guns.modular.fruits.model.result.FruitsOrderPutResult;

/**
 * 采摘入库管理 Mapper 接口
 */
public interface FruitsOrderPutMapper extends BaseMapper<FruitsOrderPut> {

    /**
     * 获取列表
     */
    List<FruitsOrderPutResult> customList(@Param("paramCondition") FruitsOrderPutParam paramCondition);

    /**
     * 获取map列表
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") FruitsOrderPutParam paramCondition);

    /**
     * 获取分页实体列表
     */
    Page<FruitsOrderPutResult> customPageList(@Param("page") Page page, @Param("paramCondition") FruitsOrderPutParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页实体列表
     */
    Page<FruitsOrderPutResult> findAnalysisPageBySpec(@Param("page") Page page, @Param("paramCondition") FruitsOrderPutParam paramCondition, @Param("condition") String condition,@Param("operateId")Long operateId);

    /**
     * 获取分页实体列表
     */
    Page<FruitsOrderPutResult> findAnalysisPageBySpecApplets(@Param("page") Page page, @Param("paramCondition") FruitsOrderPutParam paramCondition,@Param("operateId")Long operateId);

    /**
     * 获取分页实体列表
     */
    Page<FruitsOrderPutResult> findWorkertaskPageBySpec(@Param("page") Page page, @Param("paramCondition") FruitsOrderPutParam paramCondition, @Param("condition") String condition,@Param("operateId")Long operateId);

    /**
     * 获取分页实体列表
     */
    Page<FruitsOrderPutResult> findJiagongcangPagelist(@Param("page") Page page, @Param("paramCondition") FruitsOrderPutParam paramCondition, @Param("operateId")Long operateId);

    /**
     * 获取分页实体列表
     */
    Page<FruitsOrderPutResult> findzhifacangPagelist(@Param("page") Page page, @Param("paramCondition") FruitsOrderPutParam paramCondition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") FruitsOrderPutParam paramCondition);

	Integer countBydate(@Param("paramCondition")FruitsOrderPutParam to,@Param("operateId")Long operateId);

}
